<div class="row-fluid">
    <div class="span8">
        <table class="table table-striped table-bordered table-condensed">
            <thead>
                <tr>
                    <th>NIS</th>
                    <th>Nama</th>
                    <th>Mata Pelajaran</th>
                    <th>Semester</th>
                    <th>Tahun</th>
                    <th>Nilai</th>
                    <th>Action</th>
                </tr>
            </thead>
            <tbody>
                <?php foreach ($nilai as $data) : ?>
                    <tr>
                        <td><?php echo $data->nis ?></td>
                        <td><?php echo $data->nama ?></td>
                        <td><?php echo $data->mapel ?></td>
                        <td><?php echo $data->semester ?></td>
                        <td><?php echo $data->thn ?></td>
                        <td><?php echo $data->nilai ?></td>
                        <td>
                            <?php
                            echo anchor('guru/nilai_ubah/' . $data->nis, '<i class="icon-pencil tool"></i>', 'alt="Hapus"');
                            ?>
                        </td>
                    </tr>
                <?php endforeach; ?>
            </tbody>
        </table>
    </div>
</div><!--/row-->
</div><!--/span-->
</div>